<?php

/**
 * 团购订单结构
 *
 * @author shiyao744@sohu.com
 * @version 0.1b
 */
$db['logistImport'] = array(
    'columns' =>
    array(
        'id' =>
        array(
            'type' => 'number',
            'required' => true,
            'pkey' => true,
            'extra' => 'auto_increment',
            'editable' => false,
        ),
        'name' =>
        array(
            'type' => 'varchar(255)',
            'required' => true,
            'editable' => false,
            'default_in_list' => true,
            'in_list' => true,
         	'label' => '标题',
        ),  
        'status' =>
        array (
          'type' =>
          array (
            '1' => '已揽件',
            '2' => '未揽件',
            '3' => '已签收',

          ),
          'default' => '2',
          'required' => true,
          'label' => '揽件状态',
          'width' => 70,
          'editable' => false,
          'filtertype' => 'yes',
          'filterdefault' => true,
          'in_list' => true,
          'default_in_list' => false,
        ),
        'logi_no' =>
        array (
          'type' => 'varchar(50)',
          'label' => '快递单号',
        'editable' => false,
          'width' =>110,
          'in_list' => true,
          'default_in_list' => true,
        ),
	     'create_time' =>
        array(
            'type' => 'time',
            'required' => true,
            'editable' => false,
            'in_list' => true,
            'default_in_list' => true,
            'label' => '创建时间',
            'comment' => '创建时间',
        ),
        'opt_id' =>
        array(
            'type' => 'number',
            'required' => true,
            'editable' => false,
            'in_list' => false,
        ),
        'opt_name' =>
        array(
            'type' => 'varchar(64)',
            'required' => true,
            'editable' => false,
            'in_list' => true,
            'default_in_list' => true,
            'label' => '操作人',
            'comment' => '操作人',
        ),
 
     
    ),
    'engine' => 'innodb',
    'version' => '$Rev:  $',
);